package com.crealth.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.crealth.model.VisitRecordModel;


public abstract interface VisitRecordMapper {
	
    public abstract void insertVisitRecord(
    		@Param("tableName")String tableName, 
    		@Param("userID")int userID,
    		@Param("mobi")String mobi,
    		@Param("memo")String memo,
    		@Param("clientType")int clientType);
    
    public abstract void createVisitTable(
    		@Param("tableName")String tableName);
    
    public abstract List<VisitRecordModel> selectUserVisitRecord(
    		@Param("tableName")String tableName, 
    		@Param("userID")int userID,
    		@Param("lastID")int lastID);
    
}
